package com.ztgf.shopping.models.enums;

/**
 *
 * 运营模块常用枚举
 *
 * @author YUE
 * @create 2020-05-19 11:25
 */
public enum ShoppingCodeEnum {

    SORT_DESC(1,"降序"),
    SORT_ASC(2,"升序"),

    PUBLIC_0(0,"未发布"),
    PUBLIC_1(1,"发布"),

    STATUS_0(0,"正常"),
    STATUS_1(1,"删除"),

    HOT_SELL_0(0,"hotSell"),
    NEW_SHOP_1(1,"newShop"),
    SHOP_BABY_2(2,"shopBaby"),
    SHOPPER_RECOMMEND_3(3,"shopperRecommend"),

    MODULE_TYPE_0(0,"店铺"),
    MODULE_TYPE_1(1,"平台"),
    MODULE_TYPE_2(2,"店铺活动页"),
    MODULE_TYPE_3(3,"平台活动页"),

    //0首页 1活动页 2商品详情页banner
    TEMPLATE_TYPE_HOME(0,"首页"),
    TEMPLATE_TYPE_ACTIVE(1,"活动页"),
    TEMPLATE_TYPE_COMMODITY_DETAIL(2,"商品详情页banner"),
    TEMPLATE_TYPE_FINANCIAL(3,"金融列表页"),

    //是否是默认 模板 0是 1不是
    IS_DEFAULT_TRUE(0,"默认"),
    IS_DEFAULT_FALSE(1,"不默认"),

    DECORATE_BANNER(0,"banner"),//banner
    DECORATE_MAIN_NAVIGATION(1,"mainNavigation"),
    DECORATE_SECTION(2,"section"),//频道
    DECORATE_TOPIC(3,"topic"),//活动
    DECORATE_SHOW_WINDOW(4,"showWindow"),
    DECORATE_ZTGF_INFO(5,"ztgfInfo"),//品牌推荐
    DECORATE_SHOP_INFO(6,"shopInfo"),
    DECORATE_CATEGORY_INFO(7,"category"),
    DECORATE_HOT_WORD(8,"hotWord"),
    DECORATE_SELL_GUIDE(9,"sellGuide"),//卖家指南
    DECORATE_BUY_GUIDE(10,"buyGuide"),//买家指南
    DECORATE_PURCHASE(11,"purchase"),//采购信息
    DECORATE_FINANCIAL(12,"financial"),//金融服务
    DECORATE_EVERYINE_WATCHING(13,"everyoneWatching"),//大家都在看
    DECORATE_LINKS(14,"links"),//友情链接
    DECORATE_BANKS(15,"banks"),//银行列表


    //资质类型
    QUALIFICATION_LICENSE(0, "营业执照"),
    QUALIFICATION_CARD(1, "身份证"),
    QUALIFICATION_ACCOUNT(2, "开户许可证"),
    QUALIFICATION_TRADEMARK(3, "商标注册证书"),
    QUALIFICATION_RENEWAL(4, "续展证明文件"),
    Qualification_IOS(5, "ISO认证书"),
    QUALIFICATION_BRAND(6, "品牌授权书"),
    Qualification_LICENSE_CHANGE(7, "营业执照变更证明"),

    //资质审核状态
    AUDIT_CREATE(0, "提交，审核中"),
    AUDIT_PASS(1, "通过"),
    AUDIT_RETURM(2, "打回"),
    AUDIT_REJECT(3, "拒绝"),
    AUDIT_RESUBMIT(4, "重新提交"),
    AUDIT_NULL(5, "未提交过"),

    //资质审核类型
    AUDIT_TYPE_LOGIN(0, "注册"),
    AUDIT_TYPE_OPEN(1, "开店"),
    AUDIT_TYPE_CHANGE(2, "资质变更，续期"),
    AUDIT_TYPE_INSERTBRAND(3, "新增品牌"),
    AUDIT_TYPE_INSERTCATEGORY(4, "新增品牌类目"),

    //品牌是否存在
    AUDIT_BRAND_EXIST(0, "存在"),
    AUDIT_BRAND_NULL(1, "不存在"),

    //资质到期状态
    EXPIRE_DEFAULT(0, "正常"),
    EXPIRE_EXPIRING(1, "即将到期"),
    EXPIRE_EXPIRED(2, "过期"),

    //店铺类别
    MERCHANT_BUYER(0, "买家"),
    MERCHANT_SELL(1, "卖家"),

    //金额缴纳
    MONEY_UNPAID(0, "未缴纳"),
    MONEY_PAID(1, "已缴纳"),
    MONEY_INSUFFICIENT(2, "不足"),

    //黑名单类型
    BLACKLIST_LOGIN(0, "注册黑名单"),
    BLACKLIST_OPEN(1, "开店黑名单"),

    //高于，持平，低于
    COMPARED_HIGH(2, "高于"),
    COMPARED_LOW(1, "低于"),
    COMPARED_FAIR(0, "持平");

   ShoppingCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }}
